Features of SamplePart
SamplePart implements a complete but minimum set of features. Although it's possible to write an executable part editor with even fewer features, it would not be very useful.From the user's point of view, SamplePart's primary capability is simply to display a text string. It can also display itself in small icon, large icon, and thumbnail views. SamplePart also supports the Save command and, when embedded in a container part, the View as Window command.
In order to support its feature set and interact properly with other parts, SamplePart performs the following tasks, which are described in this chapter:
In addition, this chapter shows how to set up your part editor's resources so that OpenDoc can match it with its parts.
- initialization
- opening the part into a window
- handling frame layout
- drawing the part's content
- handling basic events
- activation
- writing the part to persistent storage
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help